package org.smart4j.framework.test;

/**
 * Created by lenovo on 2015/11/18.
 */
public class ChildThread extends Thread {

    private Sequence sequence;

    public ChildThread(Sequence sequence){
        this.sequence=sequence;
    }

    @Override
    public void run() {
        for(int i=0;i<3;i++){
            System.out.println(Thread.currentThread().getName()+" => "+sequence.getNumber());
        }
    }
}
